package weibo4andriod;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import weibo4andriod.a.i;
import weibo4andriod.b.a.c;

public class h
  implements Serializable
{
  private static Map a = new HashMap();
  private static final boolean e = a.a();
  private transient int b = -1;
  private transient int c = -1;
  private transient long d = -1L;

  public h()
  {
  }

  public h(i parami)
  {
    String str1 = parami.a("X-RateLimit-Limit");
    if (str1 != null)
      this.b = Integer.parseInt(str1);
    String str2 = parami.a("X-RateLimit-Remaining");
    if (str2 != null)
      this.c = Integer.parseInt(str2);
    String str3 = parami.a("X-RateLimit-Reset");
    if (str3 == null)
      return;
    this.d = Long.parseLong(str3);
  }

  protected static int a(String paramString, c paramc)
  {
    String str = paramc.e(paramString);
    if ((str == null) || ("".equals(str)) || ("null".equals(str)));
    for (int i = -1; ; i = Integer.parseInt(str))
      return i;
  }

  // ERROR //
  protected static java.util.Date a(String paramString1, String paramString2)
  {
    // Byte code:
    //   0: aload_0
    //   1: ifnull +12 -> 13
    //   4: ldc 71
    //   6: aload_0
    //   7: invokevirtual 77	java/lang/String:equals	(Ljava/lang/Object;)Z
    //   10: ifeq +7 -> 17
    //   13: aconst_null
    //   14: astore_2
    //   15: aload_2
    //   16: areturn
    //   17: getstatic 24	weibo4andriod/h:a	Ljava/util/Map;
    //   20: aload_1
    //   21: invokeinterface 88 2 0
    //   26: checkcast 90	java/text/SimpleDateFormat
    //   29: astore_3
    //   30: aload_3
    //   31: ifnonnull +35 -> 66
    //   34: new 90	java/text/SimpleDateFormat
    //   37: dup
    //   38: aload_1
    //   39: getstatic 96	java/util/Locale:ENGLISH	Ljava/util/Locale;
    //   42: invokespecial 99	java/text/SimpleDateFormat:<init>	(Ljava/lang/String;Ljava/util/Locale;)V
    //   45: astore_3
    //   46: aload_3
    //   47: ldc 101
    //   49: invokestatic 107	java/util/TimeZone:getTimeZone	(Ljava/lang/String;)Ljava/util/TimeZone;
    //   52: invokevirtual 111	java/text/SimpleDateFormat:setTimeZone	(Ljava/util/TimeZone;)V
    //   55: getstatic 24	weibo4andriod/h:a	Ljava/util/Map;
    //   58: aload_1
    //   59: aload_3
    //   60: invokeinterface 115 3 0
    //   65: pop
    //   66: aload_3
    //   67: monitorenter
    //   68: aload_3
    //   69: aload_0
    //   70: invokevirtual 119	java/text/SimpleDateFormat:parse	(Ljava/lang/String;)Ljava/util/Date;
    //   73: astore 7
    //   75: aload_3
    //   76: monitorexit
    //   77: aload 7
    //   79: astore_2
    //   80: goto -65 -> 15
    //   83: astore 6
    //   85: aload_3
    //   86: monitorexit
    //   87: aload 6
    //   89: athrow
    //   90: astore 5
    //   92: new 121	weibo4andriod/g
    //   95: dup
    //   96: new 123	java/lang/StringBuilder
    //   99: dup
    //   100: ldc 125
    //   102: invokespecial 128	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   105: aload_0
    //   106: invokevirtual 132	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   109: ldc 134
    //   111: invokevirtual 132	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   114: invokevirtual 138	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   117: invokespecial 139	weibo4andriod/g:<init>	(Ljava/lang/String;)V
    //   120: athrow
    //
    // Exception table:
    //   from	to	target	type
    //   68	77	83	finally
    //   66	68	90	java/text/ParseException
    //   85	90	90	java/text/ParseException
  }

  protected static long b(String paramString, c paramc)
  {
    String str = paramc.e(paramString);
    long l;
    if ((str == null) || ("".equals(str)) || ("null".equals(str)))
      l = -1L;
    while (true)
    {
      return l;
      l = Long.parseLong(str);
    }
  }

  protected static boolean c(String paramString, c paramc)
  {
    String str = paramc.e(paramString);
    if ((str == null) || ("".equals(str)) || ("null".equals(str)));
    for (boolean bool = false; ; bool = Boolean.valueOf(str).booleanValue())
      return bool;
  }
}

/* Location:           E:\Desktop\Android\wordstd\classes_dex2jar.jar
 * Qualified Name:     weibo4andriod.h
 * JD-Core Version:    0.5.3
 */